home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1308.dms / var1308.adf / DNET2_10.LHA / DNet / Amiga / Sourcen.lha / lib / deof.c < prev    next >
C/C++ Source or Header  |  1993-01-14  |  354b  |  24 lines

  1.  
  2. /*
  3.  *  DEof.C
  4.  */
  5.  
  6. #include "lib.h"
  7.  
  8. void
  9. DEof(_chan)
  10. void *_chan;
  11. {
  12.     CHANN *chan = (CHANN *)_chan;
  13.     IOSTD ior;
  14.  
  15.     ior.io_Command = DNCMD_EOF;
  16.     ior.io_Unit = (void *)chan->chan;
  17.     ior.io_Offset = (long)chan;
  18.     ior.io_Message.mn_ReplyPort = (PORT *)chan;
  19.     PutMsg(chan->dnetport, (MSG *)&ior);
  20.     WaitMsg(&ior);
  21.     FixSignal(chan);
  22. }
  23.  
  24.